<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    *{
      margin: 0;
      padding: 0;
    }
    .container{
      width: 400px;
      height: 100px;
      border: solid 1px #333;
      margin: 50px auto 0;
      overflow: hidden;
      position: relative;
    }
    ul{
      list-style:none;
      white-space: nowrap;
      position: absolute;
    }
    li{
      width: 100px;
      background: #acf;
      height: 100px;
      margin-right: 20px;
      display: inline-block;
    }
  </style>
</head>
<body>
  
  <div class="container">
    <ul>
      <li></li>
      <li></li>
      <li></li>
      <li></li>
      <li></li>
    </ul>
  </div>
</body>
</html>